OLD_BUILD_ID=$BUILD_ID
echo $OLD_BUILD_ID
BUILD_ID=dontKillMe

export JAVA_HOME=/usr/java/jdk1.7.0_80
export MAVEN_HOME=/home/soft/apache-maven-3.3.3
export PATH=$PATH:$MAVEN_HOME/bin:$JAVA_HOME/bin:


cd $WORKSPACE

mvn clean install


cd ./as-server-eureka
nohup mvn spring-boot:run &


cd ../as-service-common
nohup mvn spring-boot:run &

cd ../as-service-demo
nohup mvn spring-boot:run &

cd ../as-gateway-web
nohup mvn spring-boot:run &


#�Ļ�ԭ����BUILD_IDֵ
#BUILD_ID=$OLD_BUILD_ID
#echo $BUILD_ID